<jsp:include page="../../header.jsp">
			<jsp:param value="item4" name="item"/>
</jsp:include> 
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@page import="java.text.SimpleDateFormat"%>
<%@page import="java.io.File"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<section class="content">
	<section class="widget"  id="department" >
		<header>
			<span class="icon">&#128196;</span>
			<hgroup>
				<h1>审核信息表</h1>
				<h2>出差审核</h2>
			</hgroup>
			
		</header>
		<div class="content">
    <form action="verifierAction!alterStatus.action" name="alterStatus" method="post">
	<p id="purtitle" >
		<label for="purCode">出差单号</label><input type="hidden"  name="businessTravelList.travelOrder"
			value="<s:property value="businessTravelList.travelOrder"/>">
		<label for="purCode"><s:property value="businessTravelList.travelOrder"/></label>
		
		<label for="purCode">&nbsp;&nbsp;开始时间:</label>
		<label for="purCode"><s:date name="businessTravelList.startTime" format="yyyy-MM-dd" /></label>
		<label for="purCode">结束时间:</label>
		<label for="purCode"><s:date name="businessTravelList.endTime" format="yyyy-MM-dd" /></label>
		<label><a href="javascript:void(0);" id="msg"><font color="#CD3333">差旅标准详情</font></a></label>
		<input type="hidden" name="travelstandrad" id="travelstandrad" value='<s:property value="travelstandrad"/>'>
			<br />
		
		<label for="purCode">&nbsp;&nbsp;职工号:</label>
		<label for="purCode"><s:property value="businessTravelList.userInfoByUserid.userid"/></label>  
		
		<label for="purCode">&nbsp;&nbsp;职工姓名:</label>
		<label for="purCode"><s:property value="businessTravelList.userInfoByUserid.userName"/></label>
		<label for="purCode">&nbsp;&nbsp;总预算:</label> 
		<label for="purCode"><s:property value="businessTravelList.amount"/></label>
		<label for="purCode">&nbsp;&nbsp;审批人:</label>
		<label for="purCode"><s:property value="businessTravelList.userInfoByVerifierId.userName"/></label>
		<label for="purCode">&nbsp;&nbsp;状态</label>
		<select name="businessTravelList.verifierStatus">
			<option value='待审核'>待审核</option>
			<option value='审核不通过'>审核不通过</option>
			<option value="审核通过">审核通过</option>
		</select> 
		
	</p>
	
	<table id="myTable">
		<tr>
			<th>开始地点</th>
			<th>目的地</th>
			<th>距离/公里</th>
			<th>交通方式</th>
			<th>住宿</th>
			<th>餐饮费/天</th>
			<th>其他费用/天</th>
			<th>天数</th>
			<th>本次费用/元</th>
		</tr>
		<s:iterator value="businessTravels" id="row" status="state">
			<tr>
				 <td align="center">
					<s:property value="#row.startPlace"/>
				</td>
				 <td align="center">
				 	<s:property value="#row.endPlace"/>
				</td>
				<td align="center">
					<s:property value="#row.distance"/>
				</td>
				<td align="center">
					<s:property value="#row.travelStandard.traffic.traffic"/>
				</td>
				<td align="center">
					<s:property value="#row.travelStandard.hotel.hotel"/>
				</td>
				<td align="center">
					<s:property value="#row.travelStandard.mealsCost"/>
				</td>
				<td align="center">
					<s:property value="#row.travelStandard.elseCost"/>
				</td>
				<td align="center">
					<s:property value="#row.time"/>
				</td>
				<td align="center">
					<s:property value="#row.sum"/>
				</td>
			</tr>
		</s:iterator>
	</table>
	<a href="verifierAction!getTravelListByStatus.action">返回上一页</a>
		<input type="submit" class="button white" value="提交">
	</form>
 		</div>
 		</section>
 <script type="text/javascript">
 var tip= document.getElementById("travelstandrad").value;			


	$("#msg").hover(function(){
		layer.tips(tip,"#msg",{
			tips:[1,"#3595cc"]
		});
	
	});
 </script>
<%@ include file="../../footer.jsp" %>
